package main

import "fmt"

func main() {
	min, max := MinMax(5, 6)
	fmt.Printf("Minmium is: %d, Maximum is: %d\n", min, max)
}

func MinMax(a, b int) (min int, max int) {
	if a > b {
		max = a
		min = b
	} else {
		max = b
		min = a
	}
	return
}
